package com.yc.rh.biz;

import java.util.List;

import com.yc.rh.entities.ReserveInfo;

public interface IReserveInfoBiz {
	/**
	 * 添加预定
	 * @param re
	 * @return
	 */
	public int addReserve(ReserveInfo rei);
	
	/**
	 * 根据预定人的id删除预定信息
	 * @param reid
	 * @return
	 */
	public int delReserve(String reid);
	
	public List<ReserveInfo> getInfo(); 
	
	/**
	 * 根据时间段去查询预订的信息
	 * @param date
	 * 
	 * @return
	 */
	public int findReserveInfoByDate(String startDate,String endDate,Integer pageNo,Integer pageSize);

	public int getTotal();
	
	
	public int getAiid(String ainame);
	
	public List<ReserveInfo> getDate();
	
	public int updateBeiZhu(ReserveInfo  reserveInfo);

}
